﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Sim.ascx.cs" Inherits="cbmobile.MasterUser.UC_Page.Sim" %>


<div class="h-sim">
    <div class="pro-home-title">
        <h1>Sim Số Đẹp</h1>
    </div>
        <table>
            <tbody>
                <tr>
                    <td class="tt-sim">Số Sim</td>
                    <td class="tt-sim">Giá Sim</td>
                    <td class="tt-sim">Tài Khoản</td>
                    <td class="tt-sim">Ghi Chú</td>
                </tr>
            </tbody>
        </table>
        <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSourceSim">
    <ItemTemplate>
        <table class="a-sim">
            <tbody>
                <tr>
                    <td class="de-sim"><asp:Label ID="SoSimLabel" runat="server" Text='<%# Eval("SoSim") %>' /></td>
                    <td class="de-sim"><strong><asp:Label ID="GiaSimLabel" runat="server" Text='<%# Eval("GiaSim") %>' /></strong></td>
                    <td class="de-sim"><asp:Label ID="TaiKhoanLabel" runat="server" Text='<%# Eval("TaiKhoan") %>' /></td>
                    <td class="de-sim"><asp:Label ID="GhiChuLabel" runat="server" Text='<%# Eval("GhiChu") %>' /></td>
                </tr>
            </tbody>
        </table>
<br />
    </ItemTemplate>
</asp:DataList>
</div>

<asp:SqlDataSource ID="SqlDataSourceSim" runat="server" 
    ConnectionString="<%$ ConnectionStrings:PQT %>" 
    SelectCommand="SELECT [SoSim], [GiaSim], [TaiKhoan], [GhiChu] FROM [Sim]">
</asp:SqlDataSource>

